package t2bean;

public class BookBean {
	private int id;
	private String name;
	// 借出次数
	private int times;
	// 0为已借出，1为未借出
	private int lend;

	public BookBean() {
	}

	public BookBean(int id, String name, int times, int lend) {
		this.id = id;
		this.name = name;
		this.times = times;
		this.lend = lend;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getTimes() {
		return times;
	}

	public void setTimes(int times) {
		this.times = times;
	}

	public int getLend() {
		return lend;
	}

	public void setLend(int lend) {
		this.lend = lend;
	}

}
